package com.yellowpage.nsp.data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * NspTelLog entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "NSP_TEL_LOG")
public class NspTelLog implements java.io.Serializable {

	// Fields

	private Integer id;
	private String telType;
	private String queryNum;
	private String logTime;
	private String signNote;
	private String subjectNum;

	// Constructors

	/** default constructor */
	public NspTelLog() {
	}

	/** full constructor */
	public NspTelLog(String telType, String queryNum, String logTime,
			String signNote, String subjectNum) {
		this.telType = telType;
		this.queryNum = queryNum;
		this.logTime = logTime;
		this.signNote = signNote;
		this.subjectNum = subjectNum;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "identity")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "TEL_TYPE", length = 5)
	public String getTelType() {
		return this.telType;
	}

	public void setTelType(String telType) {
		this.telType = telType;
	}

	@Column(name = "QUERY_NUM")
	public String getQueryNum() {
		return this.queryNum;
	}

	public void setQueryNum(String queryNum) {
		this.queryNum = queryNum;
	}

	@Column(name = "LOG_TIME", length = 20)
	public String getLogTime() {
		return this.logTime;
	}

	public void setLogTime(String logTime) {
		this.logTime = logTime;
	}

	@Column(name = "SIGN_NOTE")
	public String getSignNote() {
		return this.signNote;
	}

	public void setSignNote(String signNote) {
		this.signNote = signNote;
	}

	@Column(name = "SUBJECT_NUM", length = 100)
	public String getSubjectNum() {
		return this.subjectNum;
	}

	public void setSubjectNum(String subjectNum) {
		this.subjectNum = subjectNum;
	}

}